@extends('layouts.admin-app')

@section('content')

    <div class="contentpanel panel-email">
        <div class="box">
            @include('admin.partials.errors')
            @include('admin.partials.success')
        </div>

        <div class="row">

            <div class="col-sm-9 col-lg-12">

                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">添加设备</h4>
                    </div>

                    <form class="form-horizontal form-bordered" action="{{ route('admin.shebei.store') }}" method="POST">
                        <input type="hidden" name="_token" value="{{ csrf_token() }}">

                        <div class="panel-body panel-body-nopadding">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">数量 <span class="asterisk">*</span></label>
                                <div class="col-sm-6">
                                    <input type="text" class="form-control" name="num" id="tag" value="{{ $data['num'] }}" autofocus>
                                </div>
                            </div>
                        </div><!-- panel-body -->

                        <div class="panel-footer">
                            <div class="row">
                                <div class="col-sm-6 col-sm-offset-3">
                                    <button class="btn btn-primary">保存</button>
                                </div>
                            </div>
                        </div><!-- panel-footer -->

                    </form>
                </div>

            </div><!-- col-sm-9 -->

        </div><!-- row -->

    </div>
@endsection
